<extend name="Base/common" />

<block name="style">
    <load  href ="__CSS__/cart/common.css"/>
    <load  href ="__CSS__/cart/checkout.css"/>
</block>
<block name="body">
  <!--start pop bg-->
  <div class="addCartOverlay"></div>
  <!--end pop bg-->
    <!--start 面包屑-->
  <div class="checkoutBcBox cf">
        <!--start wrapper min-width:950px-->
        <div class="wrapper">
          <span class="checkComplete"><em>1</em>填写订单</span>
          <span class="cur"><em>2</em>订单确认</span>
          <span class="checkComplete"><em>3</em>支付订单</span>
      </div>
    <!--end wrapper min-width:950px-->
  </div>
  <script>
    var utag_cart_id = '3040981';
  </script>

	<div class="checkoutBox">
        <!--start wrapper min-width:950px-->
        <div class="wrapper cf">
	        <!--start left aside col4-1-->
        <form  action="{:U('cart/payfor')}" method="post" name="form1">

	        <div class="col4-1">
	            <h3 class="font24">配送信息</h3>
                <foreach name="addrinfo" item="addr">
	            <div class="shippingAddrBox">
	                <span class="cf">
                        <input type="hidden" name="userid" value="{$userid}">
                        <input type="hidden" name="jifen" value="{$jifen}">
                        <input type="hidden" name="sole" value="{$t - $jifen}">
	                    <em class="shippingTit fl">收货人：</em>
	                    <em class="fl shippingCont"> {$addr['receiver']}</em>
	                </span>
	                <span class="cf">
	                    <em class="shippingTit fl">配送地址：</em>
	                    <em class="fl shippingCont"> {$addr['province']}/{$addr['city']}/{$addr['country']}</em>
	                </span>
	                <span class="cf">
	                    <em class="shippingTit fl">配送方式：</em>
	                    <em class="fl shippingCont"><b class="shippType">普通快递</b><b class="shipPrice">¥0.00</b></em>
	                </span>
	                <span class="cf">
	                    <em class="shippingTit fl">联系方式：</em>
	                    <em class="fl shippingCont">{$addr['phone']}</em>
	                </span>
	                <span class="cf">
	                    <em class="shippingTit fl">送货备注：</em>
	                    <em class="fl shippingCont">{$remark}</em>
	                </span>
	            </div>
                </foreach>
	            <!--end shipping address info-->

	            <!--start order confirm pay method-->
              <foreach  name="payinfo" item ="paydd">
	            <div class="orderConfirmPayMethod">
	                <h3 class="font24">支付方式</h3>
	                <span class="cf">
	                <em class="shippingTit fl">{$paydd['name']}</em>
                  <em class="fl shippingCont"><img src="__IMG__/account/{$paydd['image']}"></em></span>
              </div>
              </foreach>
              <div class="cf mt30">
                <a href="javascript:document.form1.submit();" id="zhifu" title="立即支付" class="btnCommon btnBlueLinear btnArrow w160 fl">立即支付<em></em></a>
              </div>
	            <!--end order confirm pay method-->
	        </div>
            </form>

	        <!--end left aside col4-1-->
	        <div class="col4 last">
	            <!--start right aside col4 订单摘要-->
	        	<div class="orderSummary">
	            <h3>订单摘要：<small>共{$k}件</small></h3>
	                <div class="contentBox">
	                    <div class="item">商品总额<span>¥{$t}</span></div>
	                    <div class="item">优惠总额<span>¥{$jifen}</span></div>
	                    <div class="item delivery">运费<span>¥0.00</span></div>
	                   	<div class="item total">商品总计<span>¥{$t - $jifen}</span></div>
	                    <div class="proList">
		                    <ul>
                        <foreach name="cartinfo"  item="cartdd">
			                    <li>
        					    			<div class="img"><img src="{$cartdd['image']}"></div>
        					    			<div class="text">
        						            <p class="name">{$cartdd['goods_name']} </p>
        								        <p class="info">{$cartdd['type']}</p>
        								        <p class="info">颜色：{$cartdd['color']}</p>
        								        <p class="info">尺码：{$cartdd['size']}<br>
        								        <p class="price">{$cartdd['num']}x <span>¥{$cartdd['price']}</span></p>
            										<p class="price">小计: <span>¥{$cartdd['num']*$cartdd['price']}</span></p>
            								</div>
        								  </li>
                        </foreach>
	                		</ul>
	                	</div>
	            	</div>
	        	</div>
	            <!--help start -->
	          <div class="infoBox">
	        		<h4>帮助？</h4>
	        		<a href="">关于订单</a><br>
	        		<a href="">验收验货</a><br>
	        		<a href="">物流配送</a><br>
	        		<a href="">售后服务</a>
	        	</div>
            <!--help end-->
            <div class="infoBox">
	            <h4>我们接受下列付款方式</h4>
	            <img src="__IMG__/account/pay.jpg">
            </div>
	        </div>
    	</div>
	</div>
  <div class="cb"></div>
  <!-- <h1 style="font-size: 25px;margin: 5% 0 0 40%;">暂无订单信息<a href="{:U('index/index')}" style="color:#026395;">&nbsp;继续购物</a></h1> -->
</block>


<block name="footer">
    <!-- 尾部style 可以改为模板引入方式-->
    <style media="screen">
    .f{
        width:100%;
        height:55px;
        background:black;
    }

    .f-wrap{
        width:300px;
        margin:0 auto;
        padding-top:15px;
        float:left;
    }

    .footContry{
        width:140px;
        padding:20px 0;
        float:left;
        margin-left:200px;
    }

    .Contry-icon{
        width:17px;
        height:15px;
        background:url(_PUBLIC__/Home/images/footer/common_sprite.png) no-repeat -15px 0;
        display:inline-block;
        vertical-align:middle;
    }

    .footContry a{
        color:#363738;
        text-decoration:none;
        font-size:13px;
        font-family:微软雅黑;
        font-weight:bold;
    }
    .weibo-icon{
        width:27px;
        height:24px;
        background:url(__PUBLIC__/Home/images/footer/common_sprite.png) no-repeat -60px 0;
        cursor:pointer;
        display:inline-block;
    }

    .weibo-icon:hover{
        width:27px;
        height:24px;
        background:url(__PUBLIC__/Home/images/footer/common_sprite.png) no-repeat -60px -24px;
    }

    .weixin-icon{
        width:27px;
        height:24px;
        background:url(__PUBLIC__/Home/images/footer/common_sprite.png) no-repeat -31px 0;
        cursor:pointer;
        display:inline-block;
    }

    .weixin-icon:hover{
        width:27px;
        height:24px;
        background:url(__PUBLIC__/Home/images/footer/common_sprite.png) no-repeat -31px -24px;
        cursor:pointer;
    }
    .footCopyRight{
        width:468px;
        float:right;
        margin-right:200px;
    }


    .copyright-ul li{
        list-style:none;
        float:left;
        margin-right:15px;
        color:#363738;
        font-size:12px;
        font-family:微软雅黑;
        height:40px;
        line-height:40px;
        padding-top:8px;
    }

    .copyright-ul li a{
        text-decoration:none;
        color:#363738;
    }

    .copyright-ul li a:hover{
        color:gray;
    }
    </style>
    <div class="f">
        <div class="footContry">
            <div class="Contry-icon"></div>
            <a href="#">中国</a>
        </div>
        <div class="f-wrap">
            <div class="weibo-icon"></div>
            <div class="weixin-icon"></div>
        </div>

        <div class="footCopyRight">
            <ul class="copyright-ul">
                <li><a href="#">货物所有权转移</a></li>
                <li><a href="#">法律声明</a></li>
                <li><a href="#">隐私条款</a></li>
                <li>苏ICP备14048805号-1</li>
                <li>© 2016 adidas</li>
            </ul>
        </div>
    </div>
</block>
